package com.copc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author yuanbin
 */
@EnableScheduling
@SpringBootApplication
@ServletComponentScan("com.copc.aspect")
@MapperScan({"com.copc.*.mapper"})
@EnableAsync
public class CopcApplication {
    public static void main(String[] args) {
        SpringApplication.run(CopcApplication.class, args);
    }

}
